package com.maoshi.shop.distribution.comment.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.maoshi.shop.common.serializer.json.ImgJsonSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("分销订单项")
public class DistributionOrderItemDto {

    @ApiModelProperty("商品名称")
    private String prodName;

    @ApiModelProperty("商品价格")
    private Double price;

    @ApiModelProperty("商品图片")
    @JsonSerialize(using = ImgJsonSerializer.class)
    private String pic;

    @ApiModelProperty("商品数量")
    private Integer prodCount;

    @ApiModelProperty("规格名称")
    private String skuName;
}
